home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / tools / gcc / gcc270_src.lha / gcc-2.7.0-amiga / config / rs6000 / eabi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-15  |  2.5 KB  |  77 lines

  1. /* Core target definitions for GNU compiler
  2.    for IBM RS/6000 PowerPC targeted to embedded ELF systems.
  3.    Copyright (C) 1995 Free Software Foundation, Inc.
  4.    Contributed by Cygnus Support.
  5.  
  6. This file is part of GNU CC.
  7.  
  8. GNU CC is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU General Public License as published by
  10. the Free Software Foundation; either version 2, or (at your option)
  11. any later version.
  12.  
  13. GNU CC is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. GNU General Public License for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with GNU CC; see the file COPYING.  If not, write to
  20. the Free Software Foundation, 59 Temple Place - Suite 330,
  21. Boston, MA 02111-1307, USA.  */
  22.  
  23. #include "rs6000/sysv4.h"
  24.  
  25. /* For now, make stabs the default debugging type, not dwarf. */
  26. #undef    PREFERRED_DEBUGGING_TYPE
  27. #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
  28.  
  29. /* Make int foo : 8 not cause structures to be aligned to an int boundary */
  30.  
  31. #undef    PCC_BITFIELD_TYPE_MATTERS
  32. #define    PCC_BITFIELD_TYPE_MATTERS (TARGET_BITFIELD_TYPE)
  33.  
  34. /* Define this macro to be the value 1 if instructions will fail to
  35.    work if given data not on the nominal alignment.  If instructions
  36.    will merely go slower in that case, define this macro as 0. */
  37. #undef    STRICT_ALIGNMENT
  38. #define    STRICT_ALIGNMENT (TARGET_STRICT_ALIGN)
  39.  
  40. /* Align stack to 8 byte boundaries, rather than 16 bytes Sys V.4 uses */
  41. #undef    STACK_BOUNDARY
  42. #define    STACK_BOUNDARY    64
  43.  
  44. /* No data type wants to be aligned rounder than this.  */
  45. #undef    BIGGEST_ALIGNMENT
  46. #define BIGGEST_ALIGNMENT 64
  47.  
  48. /* Put PC relative got entries in .got2 */
  49. #undef    MINIMAL_TOC_SECTION_ASM_OP
  50. #define MINIMAL_TOC_SECTION_ASM_OP \
  51.   ((TARGET_RELOCATABLE) ? "\t.section\t\".got2\",\"aw\"" : "\t.section\t\".got1\",\"aw\"")
  52.  
  53. /* Invoke an initializer function to set up the GOT */
  54. #define NAME__MAIN "__eabi"
  55. #define INVOKE__main 1
  56.  
  57. #undef TARGET_VERSION
  58. #define TARGET_VERSION fprintf (stderr, " (PowerPC Embedded)");
  59.  
  60. #undef CPP_PREDEFINES
  61. #define CPP_PREDEFINES \
  62.   "-DPPC -D__embedded__ -Asystem(embedded) -Acpu(powerpc) -Amachine(powerpc)"
  63.  
  64. /* Don't use startfiles or libraries except for libgcc.a */
  65. #undef  STARTFILE_SPEC
  66. #define    STARTFILE_SPEC ""
  67.  
  68. #undef    LIB_SPEC
  69. #define    LIB_SPEC ""
  70.  
  71. #undef    LIBGCC_SPEC
  72. #define    LIBGCC_SPEC "libgcc.a%s"
  73.  
  74. #undef    ENDFILE_SPEC
  75. #define    ENDFILE_SPEC ""
  76.  
  77.